package com.xjh.basestudy.javabase.thread_final.threadpool.demo;

/**
 * @Author:XuJianHua
 * @Date:2022/10/28
 * @Description:
 */
public class test {

  public static void main(String[] args) {
    method method = new method();
    System.out.println("0");
    System.out.println("0");
    System.out.println("0");
    System.out.println("0");
    System.out.println("0");
    System.out.println("0");
    ThreadPoolUtils.execute(()-> method.test1());
    System.out.println("2");
    System.out.println("2");
    System.out.println("2");
    System.out.println("2");
    System.out.println("2");
    System.out.println("2");
    System.out.println("2");
    System.out.println("2");
    System.out.println("2");
    System.out.println("2");
  }



}
